package com.xmall.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xmall.auth.entity.SysPermission;

/**
 * <p>
 * 后台用户权限表 服务类
 * </p>
 *
 * @author liuzh
 * @since 2020-06-14
 */
public interface ISysPermissionService extends IService<SysPermission> {
        boolean saveSysPermission(SysPermission sysPermission);

        boolean updateSysPermission(Long id, SysPermission sysPermission) ;

        boolean deleteSysPermission(Long id);

        SysPermission getSysPermission(Long id);
}
